package com.summer.aop;

import com.summer.dynamicProxy.CglibProxy;

public class TestAop {

	public static void main(String[] args) throws Exception {
////		MediaPlayer play = new MediaPlayer();
//		MediaPlayer play =  CglibProxy.createCglibDynamicProxy(new MediaPlayer());
////		play.play("http://*******");
//		System.out.println(play.getDataSource("http://*******"));
		
		TestProxy obj = new  ProxyObj();
		obj.todo1();
		obj.todo2();
	}
	
}
